package com.gsnd.briuppts.entity;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * @TableName manager_hurdles
 */
@Data
@EqualsAndHashCode
public class ManagerHurdles implements Serializable {
    /**
     * 栏圈id
     */

    private String hId;

    /**
     * 栏圈名称
     */
    @JsonProperty("hName")
    private String hName;

    /**
     * 栏圈描述
     */
    @JsonProperty("hDesc")
    private String hDesc;

    /**
     * 栏圈存储猪容量
     */
    @JsonProperty("hMax")
    private Integer hMax;

    /**
     * 栏圈存储猪已存数量
     */
    private Integer hSaved;

    /**
     * 创建时间
     */
    private String hTime;

    /**
     * 状态(可用禁用)
     */
    private String hEnable;

    /**
     * 状态(未满已满)
     */
    private String hFull;

    /**
     * 
     */
    private String hBackup1;

    /**
     * 
     */
    private String hBackup2;

    /**
     * 
     */
    private String hBackup3;

    /**
     * 删除状态，逻辑删除0存在1删除
     */
    private Integer hDelete;

    /**
     * 栏舍外键
     */
    private String hFenceId;

    private static final long serialVersionUID = 1L;


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", hId=").append(hId);
        sb.append(", hName=").append(hName);
        sb.append(", hDesc=").append(hDesc);
        sb.append(", hMax=").append(hMax);
        sb.append(", hSaved=").append(hSaved);
        sb.append(", hTime=").append(hTime);
        sb.append(", hEnable=").append(hEnable);
        sb.append(", hFull=").append(hFull);
        sb.append(", hBackup1=").append(hBackup1);
        sb.append(", hBackup2=").append(hBackup2);
        sb.append(", hBackup3=").append(hBackup3);
        sb.append(", hDelete=").append(hDelete);
        sb.append(", hFenceId=").append(hFenceId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}